package com.ego.item.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ego.item.entity.Spu;
import com.ego.item.entity.SpuBO;

import java.util.List;

public interface SpuMapper extends BaseMapper<Spu> {
    List<SpuBO> selectPage(String key, Boolean saleable, Integer page, Integer rows);

    List<SpuBO> selectPageForES(Boolean saleable, int i, Integer rows);
}
